paramsCount=$#
printf "params count is %d\n" $paramsCount
if [[ paramsCount > 0 ]]; then
    node ./TransferProtoJava.js file=$1
else
    node ./TransferProtoJava.js
fi